using System;
using System.Collections.Generic;
using System.Text;

namespace CallerID.Helpers
{
    public class MathHelpers
    {
        public static int Limit(int value, int min, int max)
        {
            if(value < min) return min;
            if(value > max) return max;
            return value;
        }

    }
}
